package com.gopay.common.domain.gp;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

/**
 * P2P签约流水
 * @PgP2pFormalitiesTransDtl.java
 * @author lizheng
 * @2014-4-17 上午11:47:10  www.gopay.com.cn Inc.All rights reserved.
 */
@Entity
@Table(name = "PG_P2P_FORMALITIES_TRANS_DTL")
public class PgGpFormalitiesTransDtl implements java.io.Serializable {
    /**
      * 
      */
    private static final long serialVersionUID = 1L;

    private int transDtlSq;
    private String merId;
    private String merOrderId;
    private String merTxnCd;
    private Date merTxnTm;
    private Date gopayTxnTm;
    private Date gopayServerTime;
    private String gatewayVersion;
    private String charset;
    private String language;
    private String signType;
    private String rspCode;
    private String transLaunchIp;
    private String sysRemark;
    private Date createdTs;
    private Date lastUpdTs;
    private String lastUpdTrancode;
    private String merNotifyFrontUrl;
    private String merNotifyServerUrl;
    private String merUserId;
    private String userId;
    private String name;
    private String sex;
    private String area;
    private String certType;
    private String certNo;
//    private String certValidityDateS;
//    private String certValidityDateE;
    private String address;
    private String job;
    private String trustAcct;
    private String certValDate;
    public PgGpFormalitiesTransDtl() {
    }

    @Id
    @SequenceGenerator(name = "PgP2pFormalitiesTranSequence", sequenceName = "PG_P2P_BIND_TRANS_DTL_SEQ")
    @GeneratedValue(generator = "PgP2pFormalitiesTranSequence", strategy = GenerationType.SEQUENCE)
    @Column(name = "TRANS_DTL_SQ", unique = true, nullable = false, precision = 22, scale = 0)
    public int getTransDtlSq() {
        return this.transDtlSq;
    }

    public void setTransDtlSq(int transDtlSq) {
        this.transDtlSq = transDtlSq;
    }

    @Column(name = "MER_ID", nullable = false, length = 10)
    public String getMerId() {
        return this.merId;
    }

    public void setMerId(String merId) {
        this.merId = merId;
    }

    @Column(name = "MER_ORDER_ID", nullable = false, length = 30)
    public String getMerOrderId() {
        return this.merOrderId;
    }

    public void setMerOrderId(String merOrderId) {
        this.merOrderId = merOrderId;
    }

    @Column(name = "MER_TXN_CD", nullable = false, length = 10)
    public String getMerTxnCd() {
        return this.merTxnCd;
    }

    public void setMerTxnCd(String merTxnCd) {
        this.merTxnCd = merTxnCd;
    }

    @Column(name = "MER_TXN_TM")
    public Date getMerTxnTm() {
        return this.merTxnTm;
    }

    public void setMerTxnTm(Date merTxnTm) {
        this.merTxnTm = merTxnTm;
    }

    @Column(name = "GOPAY_TXN_TM", nullable = false)
    public Date getGopayTxnTm() {
        return this.gopayTxnTm;
    }

    public void setGopayTxnTm(Date gopayTxnTm) {
        this.gopayTxnTm = gopayTxnTm;
    }
    @Column(name = "GOPAY_SERVER_TIME")
    public Date getGopayServerTime() {
        return this.gopayServerTime;
    }

    public void setGopayServerTime(Date gopayServerTime) {
        this.gopayServerTime = gopayServerTime;
    }



	@Column(name = "GATEWAY_VERSION", nullable = false, length = 5)
    public String getGatewayVersion() {
        return this.gatewayVersion;
    }

    public void setGatewayVersion(String gatewayVersion) {
        this.gatewayVersion = gatewayVersion;
    }

    @Column(name = "CHARSET", length = 1)
    public String getCharset() {
        return this.charset;
    }

    public void setCharset(String charset) {
        this.charset = charset;
    }

    @Column(name = "LANGUAGE", length = 1)
    public String getLanguage() {
        return this.language;
    }

    public void setLanguage(String language) {
        this.language = language;
    }

    @Column(name = "SIGN_TYPE", length = 1)
    public String getSignType() {
        return this.signType;
    }

    public void setSignType(String signType) {
        this.signType = signType;
    }

    @Column(name = "RSP_CODE", length = 4)
    public String getRspCode() {
        return this.rspCode;
    }

    public void setRspCode(String rspCode) {
        this.rspCode = rspCode;
    }

    @Column(name = "TRANS_LAUNCH_IP", length = 50)
    public String getTransLaunchIp() {
        return this.transLaunchIp;
    }

    public void setTransLaunchIp(String transLaunchIp) {
        this.transLaunchIp = transLaunchIp;
    }

    @Column(name = "SYS_REMARK", length = 200)
    public String getSysRemark() {
        return this.sysRemark;
    }

    public void setSysRemark(String sysRemark) {
        this.sysRemark = sysRemark;
    }

    @Column(name = "CREATED_TS")
    public Date getCreatedTs() {
        return this.createdTs;
    }

    public void setCreatedTs(Date createdTs) {
        this.createdTs = createdTs;
    }

    @Column(name = "LAST_UPD_TS")
    public Date getLastUpdTs() {
        return this.lastUpdTs;
    }

    public void setLastUpdTs(Date lastUpdTs) {
        this.lastUpdTs = lastUpdTs;
    }

    @Column(name = "LAST_UPD_TRANCODE", length = 10)
    public String getLastUpdTrancode() {
        return this.lastUpdTrancode;
    }

    public void setLastUpdTrancode(String lastUpdTrancode) {
        this.lastUpdTrancode = lastUpdTrancode;
    }


    /**
     * @return the merNotifyFrontUrl
     */
    @Column(name = "MER_NOTIFY_FRONT_URL", length = 500)
    public String getMerNotifyFrontUrl() {
        return merNotifyFrontUrl;
    }

    /**
     * @param merNotifyFrontUrl the merNotifyFrontUrl to set
     */
    public void setMerNotifyFrontUrl(String merNotifyFrontUrl) {
        this.merNotifyFrontUrl = merNotifyFrontUrl;
    }

    /**
     * @return the merNotifyServerUrl
     */
    @Column(name = "MER_NOTIFY_SERVER_URL", length = 500)
    public String getMerNotifyServerUrl() {
        return merNotifyServerUrl;
    }

    /**
     * @param merNotifyServerUrl the merNotifyServerUrl to set
     */
    public void setMerNotifyServerUrl(String merNotifyServerUrl) {
        this.merNotifyServerUrl = merNotifyServerUrl;
    }
    @Column(name = "MER_USER_ID", length = 30)
    public String getMerUserId() {
        return merUserId;
    }

    public void setMerUserId(String merUserId) {
        this.merUserId = merUserId;
    }
    @Column(name = "USER_ID", length = 60)
    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }
    @Column(name = "NAME", length = 30)
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    @Column(name = "SEX", length = 1)
    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }
    @Column(name = "AREA", length = 2)
    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }
    @Column(name = "CERT_TYPE", length = 2)
    public String getCertType() {
        return certType;
    }

    public void setCertType(String certType) {
        this.certType = certType;
    }

    @Column(name = "CERT_NO", length = 30)
    public String getCertNo() {
        return certNo;
    }

    public void setCertNo(String certNo) {
        this.certNo = certNo;
    }
//    @Column(name = "CERT_VALIDITY_DATE_S", length = 8)
//    public String getCertValidityDateS() {
//        return certValidityDateS;
//    }
//
//    public void setCertValidityDateS(String certValidityDateS) {
//        this.certValidityDateS = certValidityDateS;
//    }
//    @Column(name = "CERT_VALIDITY_DATE_E", length = 8)
//    public String getCertValidityDateE() {
//        return certValidityDateE;
//    }
//
//    public void setCertValidityDateE(String certValidityDateE) {
//        this.certValidityDateE = certValidityDateE;
//    }
    @Column(name = "ADDRESS", length = 100)
    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
    @Column(name = "JOB", length = 2)
    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job;
    }
    @Column(name = "TRUST_ACCT", length = 19)
    public String getTrustAcct() {
        return trustAcct;
    }

    public void setTrustAcct(String trustAcct) {
        this.trustAcct = trustAcct;
    }
    @Column(name = "CERT_VAL_DATE", length = 17)
    public String getCertValDate() {
        return certValDate;
    }

    public void setCertValDate(String certValDate) {
        this.certValDate = certValDate;
    }

    
    

}
